package com.youren.health.service;

import com.youren.health.entity.PageResult;
import com.youren.health.entity.QueryPageBean;
import com.youren.health.exception.HealthException;
import com.youren.health.pojo.CheckGroup;
import com.youren.health.pojo.Setmeal;

import java.util.List;

public interface SetmealService {
    PageResult findByPage(QueryPageBean queryPageBean);

    Integer add(Setmeal setmeal, Integer[] checkgroupIds);

    Setmeal findById(Integer id);

    List<Integer> findCheckGroupIdList(Integer id);

    void update(Setmeal setmeal, Integer[] checkgroupIds);

    void deleteById (Integer id) throws HealthException;

    List<String> findImgList();

    List<Setmeal> findAll();

    Setmeal findDetailById(Integer id);
}
